import { useContext, useEffect, useState } from "react";
import MyContesxt from "./useContext";


function MyComponentsC() {
 
 const value=useContext(MyContesxt)
  return (
    <div className="counter">
        <p>这是c</p>
        <p>{value}</p>
    </div>
  );
}
export default MyComponentsC;
